//
//  LSFtpManager.h
//  听说弱点强化训练
//
//  Created by 盛超 on 2018/8/26.
//  Copyright © 2018年 盛超. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void (^FtpSuccessdownloadBlock)(NSDictionary *pathDict,NSArray*names);
typedef void (^FtpFailloadBlock)(NSString *error);

@interface LSFtpManager : NSObject

//@property (nonatomic,copy) FtpSuccessdownloadBlock successBlock;
//@property (nonatomic,copy) FtpFailloadBlock failBlock;
/**
 FTP请求
 @param fileName 文件的名称
 @param ftpUrl ftp文件的相对路径
 @param success 成功回调
 - pathDict: 解压缩后的文件夹中文件路径的字典
  @param failure 失败回调
 */
- (void)LS_ftpdownloadFileName:(NSString *)fileName Path:(NSString*)ftpUrl Success:(FtpSuccessdownloadBlock)success failuer:(FtpFailloadBlock) failure;

//删除解压后文件
- (void)deleteUnzip:(NSString*)fileName ;

@end
